package com.remist.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;
@Entity
@Table(name = "imagesmap")
@PrimaryKeyJoinColumn(name = "Id")
public class ImageMapBean implements Serializable {
	/**	serialVersionUID */
	private static final long serialVersionUID = 3837048599757823533L;
	private int id;
	private String imageUrl;
	private int  typeId;
	private int referenceId ;
	private int delFlag;
	private String content;
	
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "Id")
	public int getId() {
		return id;
	}
	 @Column(length=1000) 
	public String getImageUrl() {
		return imageUrl;
	}
	public int getTypeId() {
		return typeId;
	}
	public int getReferenceId() {
		return referenceId;
	}
	public int getDelFlag() {
		return delFlag;
	}
	 @Column(length=1000) 
	public String getContent() {
		return content;
	}
	public void setId(int id) {
		this.id = id;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}
	public void setReferenceId(int referenceId) {
		this.referenceId = referenceId;
	}
	public void setDelFlag(int delFlag) {
		this.delFlag = delFlag;
	}
	public void setContent(String content) {
		this.content = content;
	}
}
